package com.storm;

import java.sql.Connection;
import java.sql.DriverManager;

public class Test {
    public static void main(String[] args) {
        try {
            Class<?> aClass = Class.forName("org.gjt.mm.mysql.Driver");
            Connection connection = DriverManager.getConnection("jdbc:mysql://10.15.30.168:3306/ottff_test?useSSL=false&serverTimezone=GMT", "root", "root123");

        } catch (Exception e) {
            System.out.println("数据库连接失败，此处mysql驱动未导入" + e.getMessage());
        }
    }
}
